home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Games Collection 1 / software vault.zip / software vault / CDR07 / PLDIAG11.ZIP / PREPARE.BAT < prev    next >
DOS Batch File  |  1992-09-07  |  2KB  |  62 lines

  1. echo off
  2. cls
  3. echo:
  4. echo:This program will unzip both the Diagnosis Demo package and VPIC,
  5. echo:configuring the latter for use on your machine.  Both will be placed in
  6. echo:separate subdirectories on whatever drive you choose.  A minimum of 
  7. echo:830K disk space will be required.
  8. echo:
  9. echo:NOTE: The program PKUNZIP must be in the current pathway.
  10. echo:
  11. ask "Enter the source drive (a,b,c,d,e): " abcde
  12. if errorlevel = 65 set source=a:
  13. if errorlevel = 66 set source=b:
  14. if errorlevel = 67 set source=c:
  15. if errorlevel = 68 set source=d:
  16. if errorlevel = 69 set source=e:
  17. ask "Enter the destination drive (a,b,c,d,e): " abcde
  18. if errorlevel = 65 set dest=a:
  19. if errorlevel = 66 set dest=b:
  20. if errorlevel = 67 set dest=c:
  21. if errorlevel = 68 set dest=d:
  22. if errorlevel = 69 set dest=e:
  23. echo:
  24. echo:Is it OK to create the sub-directories %dest%\VPIC and %dest%\DIAG and copy
  25. ask "unzipped files to them (y/n)?"
  26. if errorlevel = 89 goto cont
  27. goto end
  28. :cont
  29. md %dest%\vpic
  30. md %dest%\diag
  31. echo:Unzipping VPIC files.....
  32. echo:
  33. pkunzip vpic.zip %dest%\vpic
  34. echo:
  35. echo:Unzipping DIAGNOSIS files.....
  36. echo:
  37. pkunzip diagdm.zip %dest%\diag
  38. echo:
  39. echo:Now you must configure the graphic viewer VPIC for the hardware in use.
  40. echo:To do this you must know what graphics card you machine has...If you
  41. echo:have a VGA card and you are not sure what it is, exit the program by
  42. echo:pressing Ctrl/Break and run the file "WHICHVGA.EXE" in the VPIC
  43. echo:sub-directory on your program disk.  Then simply run the VPIC
  44. echo:file CONFIG.EXE and copy the modified VPIC.EXE to %dest%\DIAG.
  45. echo:
  46. echo:If you do know what your card is, select it from the following menu.
  47. echo:
  48. pause
  49. %dest%
  50. cd \
  51. cd vpic
  52. config.exe
  53. echo:VPIC configured.
  54. echo:
  55. echo:Copying modified VPIC.EXE to %dest%\DIAG directory...
  56. copy %dest%\vpic\vpic.exe %dest%\diag
  57. echo:
  58. cd \
  59. cd diag
  60. echo: Installation complete.  Type "diag" to start....
  61. echo:
  62. :end